package com.itheima.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import javax.persistence.Column;
import java.util.Date;
import java.sql.*;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="t_admin")
public class Admin implements Serializable {

@Id
@Column(name = "uid")
private String  uid;

    @Column(name = "user_name")
    private String  userName ;
    @Column(name = "pass_word")
    private String  passWord ;
    @Column(name = "gender")
    private String  gender ;
    @Column(name = "avatar")
    private String  avatar ;
    @Column(name = "email")
    private String  email ;
    @Column(name = "birthday")
    private Date  birthday ;
    @Column(name = "mobile")
    private String  mobile ;
    @Column(name = "valid_code")
    private String  validCode ;
    @Column(name = "summary")
    private String  summary ;
    @Column(name = "login_count")
    private int  loginCount ;
    @Column(name = "last_login_time")
    private Date  lastLoginTime ;
    @Column(name = "last_login_ip")
    private String  lastLoginIp ;
    @Column(name = "status")
    private byte  status ;
    @Column(name = "create_time")
    private Date  createTime ;
    @Column(name = "update_time")
    private Date  updateTime ;
    @Column(name = "nick_name")
    private String  nickName ;
    @Column(name = "qq_number")
    private String  qqNumber ;
    @Column(name = "we_chat")
    private String  weChat ;
    @Column(name = "occupation")
    private String  occupation ;
    @Column(name = "github")
    private String  github ;
    @Column(name = "gitee")
    private String  gitee ;
    @Column(name = "role_uid")
    private String  roleuid;
    @Column(name = "person_resume")
    private String  personResume ;

}